HttpRequestUtil

open class HttpRequestUtil

Utility class for setting OkHttpRequest configurations

Functions

Link copied to clipboard
open fun setLogEnabled(enabled: Boolean)
Set the log state of OkHttpRequest.
Link copied to clipboard
open fun setOkHttpClient(@Nullable client: OkHttpClient)
Set the OkHttpClient used for requesting map resources.
Link copied to clipboard
Enable printing of the request url when an error occurred.